namespace WXDba.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("WXUser")]
    public partial class WXUser
    {
        [Key]
        public int UserID { get; set; }

        [StringLength(100)]
        public string OpenID { get; set; }

        public bool Subscribe { get; set; }

        [StringLength(100)]
        public string NickName { get; set; }

        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Sex { get; set; }

        [StringLength(50)]
        public string County { get; set; }

        [StringLength(50)]
        public string Province { get; set; }

        [StringLength(50)]
        public string City { get; set; }

        [StringLength(50)]
        public string Language { get; set; }

        [StringLength(200)]
        public string HeadImgUrl { get; set; }

        [StringLength(100)]
        public string Subcribe_Time { get; set; }

        [StringLength(50)]
        public string UnionID { get; set; }

        [StringLength(100)]
        public string Remark { get; set; }

        public int? GroupID { get; set; }

        public DateTime AddTime { get; set; }

        public DateTime? UpdateTime { get; set; }
    }
}
